<?php
namespace app\yhUtil\type;

use app\yhUtil\YhApi;

class Markdown extends Base {
    protected $contentType = 'text';

    protected $content = [];

    public function __construct(string $text = '', $message = []){
        $this->setMarkdown($text);
        parent::__construct($message);
    }
    public function setMarkdown(string $content){
        $this->content[$this->contentType] = $content;
        return $this;
    }
}